//
//  ZooNetwork.h
//  ZooNgonDoiOS
//
//  Created by ViệtBQ on 5/29/12.
//  Copyright (c) 2012 Personal. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <RestKit/RestKit.h>
#import "ZooAuthDelegate.h"
#import "LoginDelegate.h"
@interface ZooNetwork : NSObject <RKRequestDelegate, RKObjectLoaderDelegate>{
    RKObjectManager *_rkObjectManager;
    NSString *_accessToken;
    NSString *_accessTokenSecret;
    id<LoginDelegate> _delegateLogin;
    BOOL isAuth;  
}

@property (nonatomic, assign) BOOL isAuth;
@property (nonatomic, retain) RKObjectManager *rkObjectManager;
+ (ZooNetwork *)sharedNetwork;
- (void) sendRequestOAuth;
- (void) requestLogin:(NSString *)username password:(NSString *)password;

@end
